Change syncEntity and syncAll to return results