Add url for production
Fix deprecation