Changed scope of dependency to provided. Applied Transactional
annotation to update method