Currently project uses serverless 1.0 version. It has to be updated to the latest version of serverless