tags creation refactored after upload image