changing the deprecated call for limit and all in the get_projects method